package ooday01;

public class Car2 {
    String brand;
    String color;
    double price;

    Car2(){
    }
    Car2(String brand,String color,double price){
        this.brand = brand;
        this.color = color;
        this.price = price;
    }
    void star(){
        System.out.println(brand+"牌子的"+color+"色的"+price+"块钱的车启动了...");
    }
    void run(){
        System.out.println(brand+"牌子的"+color+"色的"+price+"块钱的车开始跑了...");
    }
    void stop(){
        System.out.println(brand+"牌子的"+color+"色的"+price+"块钱的车停下了...");
    }
}
